package com.nec.recommend.module.weapp.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.nec.recommend.common.BaseEntity;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class WeappUserVO {
    @NotNull(message = "分享id不能为空")
    private String shareId;
    @Length(min = 2, max = 10, message = "姓名只能在2到10位之间")
    @NotBlank(message = "姓名不能为空")
    private String name;
    @Length(min = 11, max = 11, message = "手机号只能为11位")
    @NotBlank(message = "手机号不能为空")
    private String phone;
    @NotBlank(message = "车型不能为空")
    private String carType;
    @NotBlank(message = "车型代码不能为空")
    private String carTypeCode;
    @NotBlank(message = "车品牌不能为空")
    private String carBrand;
    @NotBlank(message = "车品牌代码不能为空")
    private String carBrandCode;
    @NotBlank(message = "省行政编码不能为空")
    private String cityCode;
    @NotBlank(message = "省名称不能为空")
    private String cityName;
    @NotBlank(message = "市行政编码不能为空")
    private String provinceCode;
    @NotBlank(message = "市名称不能为空")
    private String provinceName;
    private String remark;
}
